package com.seafwg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author seafwg
 * @Date 2022/3/24 10:31 上午
 * @Version 1.0
 * @description xxx
 */

@Controller
public class SayHelloController {

    @RequestMapping("/main")
    public String main(Model model) {
        model.addAttribute("data", "hello seafwg...");
        return "index";
    }

}
